<template>
  <div class="my-name-comp">
    <div class="header">
      <slot name="header"></slot>
    </div>

    <div class="container">
      <slot></slot>
    </div>

    <div class="footer">
      <slot name="footer"></slot>
    </div>
  </div>
</template>

<script setup lang="ts">
</script>

<style scoped>
.my-name-comp {
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  border: 3px solid #cccccc;
}

.header {
  width: 100%;
  height: 100px;
  /* background-color: black;
  color: white; */
}

.container {
  width: 100%;
  height: auto;
  flex: 1;
  /* background-color: white;
  color: black; */
  border: 1px solid #cccccc;
}

.footer {
  width: 100%;
  height: 100px;
  /* background-color: black;
  color: white; */
}
</style>